:root {
  --primary: #2B805A;
  --primary-light: #6EE7B7;
  --primary-disabled: #90BCA9;
  --primary-lighter: #A4C8B9;
  --secondary: #1D1D1D;
  --text: #11181C;
  --text-gray: #687076;
  --text-placeholder: #8890A7;
  --border: #DFE3E6;
  --btn-bg: #EDEDED;
  --input-bg: #F1F2F3;
  --main-side-background: #F8F9FA;
  --error: #e5484d;
}

body {
  font-size: 16px;
  font-family: Circular, Helvetica Neue,
  Helvetica, Arial, sans-serif;
  font-feature-settings: normal;
  font-variation-settings: normal;
  height: 100vh;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::selection {
  background-color: var(--primary-light);
}

.form-welcome-row {
  margin-bottom: 1rem;
}

.form-welcome-row h1 {
  color: var(--text);
  font-size: 2rem;
  line-height: 2rem;
  font-weight: normal;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.form-welcome-row h2 {
  color: var(--text-gray);
  font-size: 1.10rem;
  font-weight: normal;
}

.divider {
  display: flex;
  flex-direction: row;
  color: var(--secondary);
  gap: 1rem;
  align-items: center;
}

.divider-line {
  width: 100%;
  height: 1px;
  background-color: var(--secondary);
  opacity: .2;
}

.form-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 7fr 5fr;
  margin: 0 auto;
  height: 100%;
}

.form-side {
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 0 2rem;
  background-color: var(--main-side-background);
  box-shadow: rgba(99, 99, 99, 0.10) 3px 2px 2px -1px;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 15px;
}

.my-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  gap: 2rem;
  max-width: 28rem;
  width: 100%;
}

.my-form__button {
  background-color: var(--primary);
  color: white;
  white-space: nowrap;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  line-height: 2.75rem;
  outline: none;
  font-size: 1.125rem;
  text-decoration: none;
  cursor: pointer;
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, .15);
  transition: all .3s ease;
}

.my-form:invalid .my-form__button {
  pointer-events: none;
  background-color: var(--primary-disabled);
  border: 1px solid var(--primary-light);
}

.my-form__actions {
  display: flex;
  flex-direction: column;
  color: var(--secondary);
  gap: 1rem;
  margin-top: 0.5rem;
}

.my-form__actions a {
  color: var(--text);
}

.my-form__actions a:hover {
  color: var(--text-gray);
  text-decoration: underline;
}

.my-form__row {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.text-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.text-field input {
  color: var(--secondary);
  max-width: 100%;
  width: 100%;
  border: 1px solid var(--border);
  min-height: 2.75rem;
  letter-spacing: .03rem;
  outline: none;
  background-color: var(--input-bg);
  transition: .25s;
  border-radius: 0.5rem;
  text-indent: 1.25rem;
}

.text-field label {
  color: var(--text-gray);
}


.text-field input:user-invalid {
  background-color: var(--white);
  color: var(--error);
  border: 1px solid var(--error);
}


.text-field input:user-invalid~.error-message {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--error);
}

.text-field input:focus {
  border: 1px solid var(--text);
  box-shadow: rgba(99, 99, 99, 0.2) 0px 1px 4px 0px;
}

.rights {
  margin: 32px auto;
  text-align: center;
  height: 26px;
  line-height: 16px;
  font-size: 14px;
  color: #8e919e;
}

/* aside */
.info-side {
  background-image: url(https://mushanyu-app-arr.oss-cn-beijing.aliyuncs.com/static/bg-4d006b26.gif);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100%;
  width: 100%;
}

@media (max-width: 720px) {
  .form-wrapper {
    grid-template-columns: 1fr;
    height: 100vh;
  }

  .info-side {
    display: none;
  }
}
